package com.moli.iov.admin.service;

import com.moli.iov.admin.model.vo.req.CommandQueryVo;
import com.moli.iov.down.model.dto.res.VehicleCommandResDto;
import com.moli.iov.model.dto.req.PageExtend;
import com.moli.iov.rest.RestResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  控车日志
 * </p>
 *
 * @author zql
 * @since 2019/9/19 14:31
 */
public interface IVehicleLogFacadeService {

  /**
   * 车辆控制、设置日志查询
   * @param commandQueryVo
   * @return
   */
  RestResponse<PageExtend<VehicleCommandResDto>> listVehicleCommandLog(CommandQueryVo commandQueryVo);

  /**
   * 车辆控制日志导出
   * @param commandQueryVo
   * @return
   */
  void vehicleControllExport(CommandQueryVo commandQueryVo, HttpServletRequest req, HttpServletResponse res)
      throws Exception;

  /**
   * 车辆设置日志导出
   * @param commandQueryVo
   * @return
   */
  void vehicleSetExport(CommandQueryVo commandQueryVo, HttpServletRequest req, HttpServletResponse res)
      throws Exception;
}
